# encoding=utf8

from gifix import sub_frames_to_gif

folder = 'VID_20220121_171412'
ext = 'jpg'

gif_name = 'merge'+ folder + '.gif'
gif_name_reverse = 'reverse_' + gif_name

sub_frames_to_gif(folder, ext, gif_name, gif_duration=200, gif_loop=0)
sub_frames_to_gif(folder, ext, gif_name_reverse, reverse=True, gif_duration=200, gif_loop=0)
